﻿using System;
using Microsoft.EntityFrameworkCore.Migrations;

#nullable disable

namespace MESMian.Migrations
{
    /// <inheritdoc />
    public partial class alitleerroes : Migration
    {
        /// <inheritdoc />
        protected override void Up(MigrationBuilder migrationBuilder)
        {
            migrationBuilder.AlterColumn<DateTime>(
                name: "MaintenanceTime",
                table: "Products",
                type: "dateTime",
                nullable: false,
                comment: "维护时间",
                oldClrType: typeof(int),
                oldType: "int",
                oldComment: "维护时间");
        }

        /// <inheritdoc />
        protected override void Down(MigrationBuilder migrationBuilder)
        {
            migrationBuilder.AlterColumn<int>(
                name: "MaintenanceTime",
                table: "Products",
                type: "int",
                nullable: false,
                comment: "维护时间",
                oldClrType: typeof(DateTime),
                oldType: "dateTime",
                oldComment: "维护时间");
        }
    }
}
